package com.chuangsi.project.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chuangsi.project.admin.domain.Agreement;
import com.chuangsi.project.admin.dto.admin.agreement.*;
import com.chuangsi.project.admin.dto.common.SelectDto;

import java.util.List;


/**
 * <p>
 * 合同模板表 服务类
 * </p>
 *
 * @author 
 * @since 2023-03-23
 */
public interface AgreementService extends IService<Agreement> {

    List<ResAgreementPageDto> pageQuery(ReqAgreementPageDto req);

    boolean addAgreement(ReqAgreementAddDto req);

    boolean updateAgreement(ReqAgreementUpdateDto req);

    ResAgreementDetailDto agreementDetail(ReqAgreementDetailDto req);

    boolean pass(ReqAgreementPassDto req);

    List<SelectDto> agreementSelect();
}
